package com.coders.audio;

import java.io.IOException;

/**
 * Interface to talk to audio APIs
 * 
 * @author subin
 * 
 */
public interface AudioManager
{
    /**
     * Starts a new recording.
     * 
     * @throws IOException
     */
    void start( String path ) throws IOException;

    /**
     * Stops a recording that has been previously started.
     * 
     * @throws IOException
     */
    void stop() throws IOException;

    /**
     * Plays a recording that has been previously recorded.
     * 
     * @param path
     *            Path to the audio file.
     * @throws IOException
     */
    void play( String path ) throws IOException;
    public void Pause();

	
}
